package io.nutz.nutzsite.module.acm.models;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;
																																																											
/**
 * acm竞赛提交，最多26题（A-Z）表 acm_attend
 * 
 * @author lrw
 * @date 2020-02-16
 */
@Table("attend")
public class Attend implements Serializable {
	private static final long serialVersionUID = 1L;
	
			@Id
		@Column("id")
	@Comment("编号")
	private Integer id;

			/** 选手名称 */
	@Column("username")
	@Comment("选手名称")
	private String uid;

			/** 竞赛编号 */
	@Column("contest_id")
	@Comment("竞赛编号")
	private Integer contestId;

			/** 是否锁定 */
	@Column("defunct")
	@Comment("是否锁定")
	private boolean defunct;

			/** 已解题量 */
	@Column("solved")
	@Comment("已解题量")
	private Integer solved;

			/** 合计得分 */
	@Column("score")
	@Comment("合计得分")
	private Integer score;

			/** 罚分 */
	@Column("penalty")
	@Comment("罚分")
	private Integer penalty;

			/** A题耗时 */
	@Column("A_time")
	@Comment("A题耗时")
	private Integer aTime;

			/** A题有错提交次数 */
	@Column("A_wrongsubmits")
	@Comment("A题有错提交次数")
	private Integer aWrongsubmits;

			/**  */
	@Column("B_time")
	@Comment("")
	private Integer bTime;

			/**  */
	@Column("B_wrongsubmits")
	@Comment("")
	private Integer bWrongsubmits;

			/**  */
	@Column("C_time")
	@Comment("")
	private Integer cTime;

			/**  */
	@Column("C_wrongsubmits")
	@Comment("")
	private Integer cWrongsubmits;

			/**  */
	@Column("D_time")
	@Comment("")
	private Integer dTime;

			/**  */
	@Column("D_wrongsubmits")
	@Comment("")
	private Integer dWrongsubmits;

			/**  */
	@Column("E_time")
	@Comment("")
	private Integer eTime;

			/**  */
	@Column("E_wrongsubmits")
	@Comment("")
	private Integer eWrongsubmits;

			/**  */
	@Column("F_time")
	@Comment("")
	private Integer fTime;

			/**  */
	@Column("F_wrongsubmits")
	@Comment("")
	private Integer fWrongsubmits;

			/**  */
	@Column("G_time")
	@Comment("")
	private Integer gTime;

			/**  */
	@Column("G_wrongsubmits")
	@Comment("")
	private Integer gWrongsubmits;

			/**  */
	@Column("H_time")
	@Comment("")
	private Integer hTime;

			/**  */
	@Column("H_wrongsubmits")
	@Comment("")
	private Integer hWrongsubmits;

			/**  */
	@Column("I_time")
	@Comment("")
	private Integer iTime;

			/**  */
	@Column("I_wrongsubmits")
	@Comment("")
	private Integer iWrongsubmits;

			/**  */
	@Column("J_time")
	@Comment("")
	private Integer jTime;

			/**  */
	@Column("J_wrongsubmits")
	@Comment("")
	private Integer jWrongsubmits;

			/**  */
	@Column("K_time")
	@Comment("")
	private Integer kTime;

			/**  */
	@Column("K_wrongsubmits")
	@Comment("")
	private Integer kWrongsubmits;

			/**  */
	@Column("L_time")
	@Comment("")
	private Integer lTime;

			/**  */
	@Column("L_wrongsubmits")
	@Comment("")
	private Integer lWrongsubmits;

			/**  */
	@Column("M_time")
	@Comment("")
	private Integer mTime;

			/**  */
	@Column("M_wrongsubmits")
	@Comment("")
	private Integer mWrongsubmits;

			/**  */
	@Column("N_time")
	@Comment("")
	private Integer nTime;

			/**  */
	@Column("N_wrongsubmits")
	@Comment("")
	private Integer nWrongsubmits;

			/**  */
	@Column("O_time")
	@Comment("")
	private Integer oTime;

			/**  */
	@Column("O_wrongsubmits")
	@Comment("")
	private Integer oWrongsubmits;

			/**  */
	@Column("P_time")
	@Comment("")
	private Integer pTime;

			/**  */
	@Column("P_wrongsubmits")
	@Comment("")
	private Integer pWrongsubmits;

			/**  */
	@Column("Q_time")
	@Comment("")
	private Integer qTime;

			/**  */
	@Column("Q_wrongsubmits")
	@Comment("")
	private Integer qWrongsubmits;

			/**  */
	@Column("R_time")
	@Comment("")
	private Integer rTime;

			/**  */
	@Column("R_wrongsubmits")
	@Comment("")
	private Integer rWrongsubmits;

			/**  */
	@Column("S_time")
	@Comment("")
	private Integer sTime;

			/**  */
	@Column("S_wrongsubmits")
	@Comment("")
	private Integer sWrongsubmits;

			/**  */
	@Column("T_time")
	@Comment("")
	private Integer tTime;

			/**  */
	@Column("T_wrongsubmits")
	@Comment("")
	private Integer tWrongsubmits;

			/**  */
	@Column("U_time")
	@Comment("")
	private Integer uTime;

			/**  */
	@Column("U_wrongsubmits")
	@Comment("")
	private Integer uWrongsubmits;

			/**  */
	@Column("V_time")
	@Comment("")
	private Integer vTime;

			/**  */
	@Column("V_wrongsubmits")
	@Comment("")
	private Integer vWrongsubmits;

			/**  */
	@Column("W_time")
	@Comment("")
	private Integer wTime;

			/**  */
	@Column("W_wrongsubmits")
	@Comment("")
	private Integer wWrongsubmits;

			/**  */
	@Column("X_time")
	@Comment("")
	private Integer xTime;

			/**  */
	@Column("X_wrongsubmits")
	@Comment("")
	private Integer xWrongsubmits;

			/**  */
	@Column("Y_time")
	@Comment("")
	private Integer yTime;

			/**  */
	@Column("Y_wrongsubmits")
	@Comment("")
	private Integer yWrongsubmits;

			/**  */
	@Column("Z_time")
	@Comment("")
	private Integer zTime;

			/**  */
	@Column("Z_wrongsubmits")
	@Comment("")
	private Integer zWrongsubmits;

	
	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}

	public void setUid(String uid) 
	{
		this.uid = uid;
	}

	public String getUid() 
	{
		return uid;
	}

	public void setContestId(Integer contestId) 
	{
		this.contestId = contestId;
	}

	public Integer getContestId() 
	{
		return contestId;
	}

	public boolean isDefunct() {
		return defunct;
	}

	public void setDefunct(boolean defunct) {
		this.defunct = defunct;
	}

	public void setSolved(Integer solved) 
	{
		this.solved = solved;
	}

	public Integer getSolved() 
	{
		return solved;
	}

	public void setScore(Integer score) 
	{
		this.score = score;
	}

	public Integer getScore() 
	{
		return score;
	}

	public void setPenalty(Integer penalty) 
	{
		this.penalty = penalty;
	}

	public Integer getPenalty() 
	{
		return penalty;
	}

	public void setATime(Integer aTime) 
	{
		this.aTime = aTime;
	}

	public Integer getATime() 
	{
		return aTime;
	}

	public void setAWrongsubmits(Integer aWrongsubmits) 
	{
		this.aWrongsubmits = aWrongsubmits;
	}

	public Integer getAWrongsubmits() 
	{
		return aWrongsubmits;
	}

	public void setBTime(Integer bTime) 
	{
		this.bTime = bTime;
	}

	public Integer getBTime() 
	{
		return bTime;
	}

	public void setBWrongsubmits(Integer bWrongsubmits) 
	{
		this.bWrongsubmits = bWrongsubmits;
	}

	public Integer getBWrongsubmits() 
	{
		return bWrongsubmits;
	}

	public void setCTime(Integer cTime) 
	{
		this.cTime = cTime;
	}

	public Integer getCTime() 
	{
		return cTime;
	}

	public void setCWrongsubmits(Integer cWrongsubmits) 
	{
		this.cWrongsubmits = cWrongsubmits;
	}

	public Integer getCWrongsubmits() 
	{
		return cWrongsubmits;
	}

	public void setDTime(Integer dTime) 
	{
		this.dTime = dTime;
	}

	public Integer getDTime() 
	{
		return dTime;
	}

	public void setDWrongsubmits(Integer dWrongsubmits) 
	{
		this.dWrongsubmits = dWrongsubmits;
	}

	public Integer getDWrongsubmits() 
	{
		return dWrongsubmits;
	}

	public void setETime(Integer eTime) 
	{
		this.eTime = eTime;
	}

	public Integer getETime() 
	{
		return eTime;
	}

	public void setEWrongsubmits(Integer eWrongsubmits) 
	{
		this.eWrongsubmits = eWrongsubmits;
	}

	public Integer getEWrongsubmits() 
	{
		return eWrongsubmits;
	}

	public void setFTime(Integer fTime) 
	{
		this.fTime = fTime;
	}

	public Integer getFTime() 
	{
		return fTime;
	}

	public void setFWrongsubmits(Integer fWrongsubmits) 
	{
		this.fWrongsubmits = fWrongsubmits;
	}

	public Integer getFWrongsubmits() 
	{
		return fWrongsubmits;
	}

	public void setGTime(Integer gTime) 
	{
		this.gTime = gTime;
	}

	public Integer getGTime() 
	{
		return gTime;
	}

	public void setGWrongsubmits(Integer gWrongsubmits) 
	{
		this.gWrongsubmits = gWrongsubmits;
	}

	public Integer getGWrongsubmits() 
	{
		return gWrongsubmits;
	}

	public void setHTime(Integer hTime) 
	{
		this.hTime = hTime;
	}

	public Integer getHTime() 
	{
		return hTime;
	}

	public void setHWrongsubmits(Integer hWrongsubmits) 
	{
		this.hWrongsubmits = hWrongsubmits;
	}

	public Integer getHWrongsubmits() 
	{
		return hWrongsubmits;
	}

	public void setITime(Integer iTime) 
	{
		this.iTime = iTime;
	}

	public Integer getITime() 
	{
		return iTime;
	}

	public void setIWrongsubmits(Integer iWrongsubmits) 
	{
		this.iWrongsubmits = iWrongsubmits;
	}

	public Integer getIWrongsubmits() 
	{
		return iWrongsubmits;
	}

	public void setJTime(Integer jTime) 
	{
		this.jTime = jTime;
	}

	public Integer getJTime() 
	{
		return jTime;
	}

	public void setJWrongsubmits(Integer jWrongsubmits) 
	{
		this.jWrongsubmits = jWrongsubmits;
	}

	public Integer getJWrongsubmits() 
	{
		return jWrongsubmits;
	}

	public void setKTime(Integer kTime) 
	{
		this.kTime = kTime;
	}

	public Integer getKTime() 
	{
		return kTime;
	}

	public void setKWrongsubmits(Integer kWrongsubmits) 
	{
		this.kWrongsubmits = kWrongsubmits;
	}

	public Integer getKWrongsubmits() 
	{
		return kWrongsubmits;
	}

	public void setLTime(Integer lTime) 
	{
		this.lTime = lTime;
	}

	public Integer getLTime() 
	{
		return lTime;
	}

	public void setLWrongsubmits(Integer lWrongsubmits) 
	{
		this.lWrongsubmits = lWrongsubmits;
	}

	public Integer getLWrongsubmits() 
	{
		return lWrongsubmits;
	}

	public void setMTime(Integer mTime) 
	{
		this.mTime = mTime;
	}

	public Integer getMTime() 
	{
		return mTime;
	}

	public void setMWrongsubmits(Integer mWrongsubmits) 
	{
		this.mWrongsubmits = mWrongsubmits;
	}

	public Integer getMWrongsubmits() 
	{
		return mWrongsubmits;
	}

	public void setNTime(Integer nTime) 
	{
		this.nTime = nTime;
	}

	public Integer getNTime() 
	{
		return nTime;
	}

	public void setNWrongsubmits(Integer nWrongsubmits) 
	{
		this.nWrongsubmits = nWrongsubmits;
	}

	public Integer getNWrongsubmits() 
	{
		return nWrongsubmits;
	}

	public void setOTime(Integer oTime) 
	{
		this.oTime = oTime;
	}

	public Integer getOTime() 
	{
		return oTime;
	}

	public void setOWrongsubmits(Integer oWrongsubmits) 
	{
		this.oWrongsubmits = oWrongsubmits;
	}

	public Integer getOWrongsubmits() 
	{
		return oWrongsubmits;
	}

	public void setPTime(Integer pTime) 
	{
		this.pTime = pTime;
	}

	public Integer getPTime() 
	{
		return pTime;
	}

	public void setPWrongsubmits(Integer pWrongsubmits) 
	{
		this.pWrongsubmits = pWrongsubmits;
	}

	public Integer getPWrongsubmits() 
	{
		return pWrongsubmits;
	}

	public void setQTime(Integer qTime) 
	{
		this.qTime = qTime;
	}

	public Integer getQTime() 
	{
		return qTime;
	}

	public void setQWrongsubmits(Integer qWrongsubmits) 
	{
		this.qWrongsubmits = qWrongsubmits;
	}

	public Integer getQWrongsubmits() 
	{
		return qWrongsubmits;
	}

	public void setRTime(Integer rTime) 
	{
		this.rTime = rTime;
	}

	public Integer getRTime() 
	{
		return rTime;
	}

	public void setRWrongsubmits(Integer rWrongsubmits) 
	{
		this.rWrongsubmits = rWrongsubmits;
	}

	public Integer getRWrongsubmits() 
	{
		return rWrongsubmits;
	}

	public void setSTime(Integer sTime) 
	{
		this.sTime = sTime;
	}

	public Integer getSTime() 
	{
		return sTime;
	}

	public void setSWrongsubmits(Integer sWrongsubmits) 
	{
		this.sWrongsubmits = sWrongsubmits;
	}

	public Integer getSWrongsubmits() 
	{
		return sWrongsubmits;
	}

	public void setTTime(Integer tTime) 
	{
		this.tTime = tTime;
	}

	public Integer getTTime() 
	{
		return tTime;
	}

	public void setTWrongsubmits(Integer tWrongsubmits) 
	{
		this.tWrongsubmits = tWrongsubmits;
	}

	public Integer getTWrongsubmits() 
	{
		return tWrongsubmits;
	}

	public void setUTime(Integer uTime) 
	{
		this.uTime = uTime;
	}

	public Integer getUTime() 
	{
		return uTime;
	}

	public void setUWrongsubmits(Integer uWrongsubmits) 
	{
		this.uWrongsubmits = uWrongsubmits;
	}

	public Integer getUWrongsubmits() 
	{
		return uWrongsubmits;
	}

	public void setVTime(Integer vTime) 
	{
		this.vTime = vTime;
	}

	public Integer getVTime() 
	{
		return vTime;
	}

	public void setVWrongsubmits(Integer vWrongsubmits) 
	{
		this.vWrongsubmits = vWrongsubmits;
	}

	public Integer getVWrongsubmits() 
	{
		return vWrongsubmits;
	}

	public void setWTime(Integer wTime) 
	{
		this.wTime = wTime;
	}

	public Integer getWTime() 
	{
		return wTime;
	}

	public void setWWrongsubmits(Integer wWrongsubmits) 
	{
		this.wWrongsubmits = wWrongsubmits;
	}

	public Integer getWWrongsubmits() 
	{
		return wWrongsubmits;
	}

	public void setXTime(Integer xTime) 
	{
		this.xTime = xTime;
	}

	public Integer getXTime() 
	{
		return xTime;
	}

	public void setXWrongsubmits(Integer xWrongsubmits) 
	{
		this.xWrongsubmits = xWrongsubmits;
	}

	public Integer getXWrongsubmits() 
	{
		return xWrongsubmits;
	}

	public void setYTime(Integer yTime) 
	{
		this.yTime = yTime;
	}

	public Integer getYTime() 
	{
		return yTime;
	}

	public void setYWrongsubmits(Integer yWrongsubmits) 
	{
		this.yWrongsubmits = yWrongsubmits;
	}

	public Integer getYWrongsubmits() 
	{
		return yWrongsubmits;
	}

	public void setZTime(Integer zTime) 
	{
		this.zTime = zTime;
	}

	public Integer getZTime() 
	{
		return zTime;
	}

	public void setZWrongsubmits(Integer zWrongsubmits) 
	{
		this.zWrongsubmits = zWrongsubmits;
	}

	public Integer getZWrongsubmits() 
	{
		return zWrongsubmits;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("contestId", getContestId())
            .append("defunct", isDefunct())
            .append("solved", getSolved())
            .append("score", getScore())
            .append("penalty", getPenalty())
            .append("aTime", getATime())
            .append("aWrongsubmits", getAWrongsubmits())
            .append("bTime", getBTime())
            .append("bWrongsubmits", getBWrongsubmits())
            .append("cTime", getCTime())
            .append("cWrongsubmits", getCWrongsubmits())
            .append("dTime", getDTime())
            .append("dWrongsubmits", getDWrongsubmits())
            .append("eTime", getETime())
            .append("eWrongsubmits", getEWrongsubmits())
            .append("fTime", getFTime())
            .append("fWrongsubmits", getFWrongsubmits())
            .append("gTime", getGTime())
            .append("gWrongsubmits", getGWrongsubmits())
            .append("hTime", getHTime())
            .append("hWrongsubmits", getHWrongsubmits())
            .append("iTime", getITime())
            .append("iWrongsubmits", getIWrongsubmits())
            .append("jTime", getJTime())
            .append("jWrongsubmits", getJWrongsubmits())
            .append("kTime", getKTime())
            .append("kWrongsubmits", getKWrongsubmits())
            .append("lTime", getLTime())
            .append("lWrongsubmits", getLWrongsubmits())
            .append("mTime", getMTime())
            .append("mWrongsubmits", getMWrongsubmits())
            .append("nTime", getNTime())
            .append("nWrongsubmits", getNWrongsubmits())
            .append("oTime", getOTime())
            .append("oWrongsubmits", getOWrongsubmits())
            .append("pTime", getPTime())
            .append("pWrongsubmits", getPWrongsubmits())
            .append("qTime", getQTime())
            .append("qWrongsubmits", getQWrongsubmits())
            .append("rTime", getRTime())
            .append("rWrongsubmits", getRWrongsubmits())
            .append("sTime", getSTime())
            .append("sWrongsubmits", getSWrongsubmits())
            .append("tTime", getTTime())
            .append("tWrongsubmits", getTWrongsubmits())
            .append("uTime", getUTime())
            .append("uWrongsubmits", getUWrongsubmits())
            .append("vTime", getVTime())
            .append("vWrongsubmits", getVWrongsubmits())
            .append("wTime", getWTime())
            .append("wWrongsubmits", getWWrongsubmits())
            .append("xTime", getXTime())
            .append("xWrongsubmits", getXWrongsubmits())
            .append("yTime", getYTime())
            .append("yWrongsubmits", getYWrongsubmits())
            .append("zTime", getZTime())
            .append("zWrongsubmits", getZWrongsubmits())
            .toString();
    }
}
